<?php
/*
 * @Author: 李明
 * @Date: 2022-01-13 16:45:47
 * @LastEditTime: 2022-01-13 16:46:32
 * @LastEditors: 李明
 * @Description: 
 * @FilePath: /CRM2.0-PHP/app/Models/Company.php
 * @山东壹零贰肆信息科技有限公司
 */

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;

/**
 * Class Company
 * 
 * @property int $id
 * @property string|null $name
 * @property int|null $count_all
 * @property int|null $count_use
 * @property Carbon|null $create_time
 * @property Carbon|null $update_time
 *
 * @package App\Models
 */
class Company extends Model
{
    protected $connection = 'mysql_sms';
    protected $table = 'company';

    protected $casts = [
        'count_all' => 'int',
        'count_use' => 'int'
    ];

    protected $fillable = [
        'name',
        'count_all',
        'count_use'
    ];
}
